home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / mle.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  1.7 KB  |  68 lines

  1. /* -------------------------------------------------------------------
  2.  
  3.     Project:
  4.  
  5.     Objective-C interface file for the class mle
  6.  
  7.     COPYRIGHT (C), 1995, Thomas Baier
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Date:                Rev:
  11.     1995-Aug-13            ___
  12.  
  13.  */
  14.  
  15. #ifndef _MLE_H_
  16. #define _MLE_H_
  17.  
  18. #ifndef _FACTORYWINDOW_H_
  19. #include <pm/FactoryWindow.h>
  20. #endif
  21.  
  22. #ifndef _SELECTION_H_
  23. #include <pm/Selection.h>
  24. #endif
  25.  
  26. /*====================================================================
  27.                         Interface of class mle                        
  28. ====================================================================*/
  29.  
  30. @interface MultiLineEntryField : FactoryWindow <Archiving,Selection>
  31. {
  32. }
  33.  
  34. /* -------------------------- Initialize -------------------------- */
  35. - initWithId: (ULONG) anId andFlags: (ULONG) flags in: (Window *) parent;
  36.  
  37. /* ----------------------------- Free ----------------------------- */
  38.  
  39. /* ----------- Methods for access to Instance Variables ----------- */
  40.  
  41. /* -------------------------- Selection --------------------------- */
  42. -clearSelection: sender;
  43. -copySelection: sender;
  44. -cutSelection: sender;
  45. -pasteSelection: sender;
  46.  
  47. /* ------------------------ Public methods ------------------------ */
  48. -(long) indexForLine: (long) line;
  49. -delete: (unsigned long) count at: (long) index;
  50. -insertText: (char *) aText;
  51. -insertText: (char *) aText at: (long) index;
  52. -appendText: (char *) aText;
  53.  
  54. -clearAll: sender;
  55.  
  56. /* ----------------------- Private methods ------------------------ */
  57.  
  58. /* ---------------------- Archiving methods ----------------------- */
  59. - read: (TypedStream *) aStream;
  60. - write: (TypedStream *) aStream;
  61. - awake;
  62.  
  63. - createInPMWindow: (HWND) window;
  64.  
  65. @end
  66.  
  67. #endif
  68.